Garbage collect every 30 frames unity

114

Garbage collect every 30 frames unity -

if (Time.frameCount % 30 == 0)
{
	System.GC.Collect();
}

Comments

Submit
0 Comments